package cn.lsc.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsc
 * @since 2022-08-31
 */
@TableName("t_backlist")
public class Backlist  {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String ip;

    private Long userId;
    private String phone;
    private String text;

    public String getText() {
        return text;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Backlist(Long id, String ip, Long userId, String phone, String text) {
        this.id = id;
        this.ip = ip;
        this.userId = userId;
        this.phone = phone;
        this.text = text;
    }

    @Override
    public String toString() {
        return "Backlist{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", userId=" + userId +
                ", phone='" + phone + '\'' +
                ", text='" + text + '\'' +
                '}';
    }
}
